package org.jeecg.modules.demo.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.demo.crm.entity.CProjectStatusLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 子项状态变更表
 * @Author: jeecg-boot
 * @Date:   2025-05-27
 * @Version: V1.0
 */
public interface CProjectStatusLogMapper extends BaseMapper<CProjectStatusLog> {


    @Select("select * from c_project_status_log where project_id=#{projectId} order by create_time desc")
    List<CProjectStatusLog> findListByProjectId(@Param("projectId") String projectId);
}
